package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitFileManagerRouter(Router *gin.RouterGroup) {
	FileManagerRouter := Router.Group("fileManager").Use(middleware.OperationRecord())
	{
		FileManagerRouter.POST("createFileManager", v1.CreateFileManager)   // 新建FileManager
		FileManagerRouter.DELETE("deleteFileManager", v1.DeleteFileManager) // 删除FileManager
		FileManagerRouter.DELETE("deleteFileManagerByIds", v1.DeleteFileManagerByIds) // 批量删除FileManager
		FileManagerRouter.PUT("updateFileManager", v1.UpdateFileManager)    // 更新FileManager
		FileManagerRouter.GET("findFileManager", v1.FindFileManager)        // 根据ID获取FileManager
		FileManagerRouter.GET("getFileManagerList", v1.GetFileManagerList)  // 获取FileManager列表
	}
}
